package cn.sunxyz.behavior.chainofresponsibility;

/**
 * Created by yangrd on 2017/5/13.
 */
public class Client {
    public static void main(String[] args) {
        Handler firstHandler = new FirstHandler();
        Handler secondHandler = new SecondHandler();
        firstHandler.setHandler(secondHandler);
        firstHandler.handlerRequest("你好");
    }
}
